package com.enbatis.mybatisplugs.generate;

import com.enbatis.mybatisplugs.commons.utils.LineHumpUtil;

import java.util.List;

public class TableInfo {

    private String tableName;

    private String tableRemark;


    private String bigEntityName;


    private String smallEntityName;


    private List<Column> columnList;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
        this.bigEntityName= LineHumpUtil.lineToBigHump(this.tableName);
        this.smallEntityName= LineHumpUtil.lineToHump(this.tableName);
    }

    public List<Column> getColumnList() {
        return columnList;
    }

    public void setColumnList(List<Column> columnList) {
        this.columnList = columnList;
    }

    public String getTableRemark() {
        return tableRemark;
    }

    public void setTableRemark(String tableRemark) {
        this.tableRemark = tableRemark;
    }


    public String getBigEntityName() {
        return bigEntityName;
    }

    public void setBigEntityName(String bigEntityName) {
        this.bigEntityName = bigEntityName;
    }

    public String getSmallEntityName() {
        return smallEntityName;
    }
}
